#include "StdAfx.h"
#include "AdaptateurOStream.h"


AdaptateurOStream::AdaptateurOStream(ostream * flot):_flot(flot){

}

AdaptateurOStream::~AdaptateurOStream(void){
}

void AdaptateurOStream::Print(const JobPlanifie & JP) const{
	*_flot << JP;
}

void AdaptateurOStream::Print (const vector<JobPlanifie> vj) const{
	for (int i = 0 ; i < vj.size() ; i++) {
		Print(vj.at(i));
	}
}